/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package javaapplication3;
import java.io.*;
import java.io.BufferedReader;
import java.io.IOException;
import java.util.logging.Level;
import java.util.logging.Logger;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.util.HashMap;
import java.util.Map;
import org.apache.http.client.ClientProtocolException;
import org.apache.http.impl.client.DefaultHttpClient;

/**
 *
 * @author andrea
 */
public class ImpostaParametri {
     DefaultHttpClient httpclient = new DefaultHttpClient();
        HttpConnection httpConn = new HttpConnection(httpclient);
Map<String, String> params = new HashMap<String, String>();

    public ImpostaParametri(){}

    public void imposta(){
    
        params.put("s1", "Login");
        params.put("w", "1366:768");
        params.put("login", "1325103450");



    /*    httpConn.post(, params);
        if (httpConn.getEntity() != null) {
            pageHTML = convertStreamToString(httpConn.getEntity().getContent());
      */  }

}
